<%
response.setHeader("Cache-Control", "no-cache, no-store, must-revalidate, cached-pages"); // HTTP 1.1.
response.setHeader("Pragma", "no-cache"); // HTTP 1.0.
response.setDateHeader("Expires", 0); // Proxies.
%>
<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/view.css" media="all"/>
<title>Bazinga - Welcome</title> 
</head>
<style type="text/css">
.classname {
	-moz-box-shadow:inset 0px 0px 0px -50px #d9d9d9;
	-webkit-box-shadow:inset 0px 0px 0px -50px #d9d9d9;
	box-shadow:inset 0px 0px 0px -50px #d9d9d9;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #eb9d94), color-stop(1, #f54f4f) );
	background:-moz-linear-gradient( center top, #eb9d94 5%, #f54f4f 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eb9d94', endColorstr='#f54f4f');
	background-color:#eb9d94;
	-moz-border-radius:15px;
	-webkit-border-radius:15px;
	border-radius:15px;
	border:1px solid #d83526;
	display:inline-block;
	color:#f0e9e4;
	font-family:Georgia;
	font-size:20px;
	font-weight:normal;
	padding:4px 76px;
	text-decoration:none;
}.classname:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f54f4f), color-stop(1, #eb9d94) );
	background:-moz-linear-gradient( center top, #f54f4f 5%, #eb9d94 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f54f4f', endColorstr='#eb9d94');
	background-color:#f54f4f;
}.classname:active {
	position:relative;
	top:1px;
}
/* This imageless css button was generated by CSSButtonGenerator.com */
</style>
<body id="main_body" bgcolor="#FFEFD5" >
<!-- 
I need these data from here:
`usertable`.`idusertable`, `usertable`.`firstname`, `usertable`.`lastname`, 
`usertable`.`email`, `usertable`.`password`, `usertable`.`isstudent`, 
`usertable`.`isemployer`, `usertable`.`city`, `usertable`.`state`, `usertable`.`zipcode`
 -->	

<!-- 
<s:form action="add" method="post">
	<s:textfield name="contact.firstName" label="Firstname"/>
	<s:textfield name="contact.lastName" label="Lastname"/>
	<s:textfield name="contact.emailId" label="Email"/>
	<s:textfield name="contact.cellNo" label="Cell No."/>
	<s:textfield name="contact.website" label="Homepage"/>
	<s:textfield name="contact.birthDate" label="Birthdate"/>
	<s:submit value="Add Contact" align="center"/>
</s:form>
 -->
	
	<img id="top" src="images/top.png" alt="">
	<div id="form_container">
	<div class="header">
		 <div id="mymenu" style="padding-left:50px">
		 <ul>
		 
		 <li>
		 	<a class="color2" href="welcome.jsp">Home</a>
		 
		 </li>
		 
		 <li>
		 	<a class="color2" href="Share">Spread the Word</a>
		 
		 </li>
	
		 <li>
		 	<a class="color2" href="AboutUs">About Us</a>
		 </li>
		 
		 </ul>

 		
       </div> 
        </div>
     <div>
     <table>
     <tr><td><img src="images/jobopenings.png" height="230px"/></td>
     <td>
		<s:form action="LoginAction" method="POST" validate="true">
			
			<div class="error"><s:actionerror /></div>
			<s:textfield name="username" key="Email" size="20"  cssClass="textfield" cssStyle="margin-top:10px">
			</s:textfield>

			<s:password name="password" key="Password" size="20" cssClass="textfield" cssStyle="margin-top:10px"/>

			<s:submit value="LOGIN" align="center" cssClass="classname" cssStyle="margin-top:20px"/>
		</s:form>
	</td><td align="center" width="200px">
						<a href="RegisterAction"><img alt="New User?" src="images/newuser.png" height="100px"/><br/>New User?</a>
				</td></tr>	
			</table>	
		
		</div>
	</div>
</body>
</html>